package com.imachen;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @description: 启动类
 * @author: AChen
 * @date: 2022/8/14 0014 : 10:59
 * @version: ver1.0
 */
@SpringBootApplication
@EnableTransactionManagement
@MapperScan("com.imachen.*.mapper")
@ServletComponentScan(value = {"com.imachen.system.listener"})
public class PetHomeApp {
    public static void main(String[] args) {
        SpringApplication.run(PetHomeApp.class,args);
    }
}
